Fixed: error when sorting the messages if there's only one board for the project.