filter posts by category, no posts by category returns full list of posts