fixing drafts showing up when searching for posts by tags/categories

There was a problem with drafts showing up, so I fixed it :)