Minor change to the messages controller