Don't crash if there are no messages