PM PRO addon package check user access to a specific post

Got the answer figured out,dont know exactly what was wrong but just entered the ID( i.e 376) in each section instead of $post_id[0] array.
Would be glad to know if something was wrong in the code I posted in my question.
Thanks

EDIT

Was using

$post_id[] = array(361,369,367,371,476); 

instead of

$post_id = array(361,369,367,371,476);