Minor fix for messages with spaces only