Error in Post::bestList function