Fixed recent_posts implementation