No need to iterate over empty messages.