Fix for get_tag_posts method