Attempt to fix $hasaccess bug when no $post_id