Fix bug with querying for private posts by author ID

Same question as above