Fixed next/prev message navigation in message-mode.