Fix bug where profile page does not show posts.