fixed issue with finding a page by location and published status of "yes"