Fix bug with forward/backward navigation between posts.