Fix for the get_posts() function call.