Avoid displaying empty messages