Fixed a bug switching between selected messages, and reports.