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