Fixing get_posts for when there is no root_post_id.