Fixed issue of posts by tag not working