Differentiate between global_messages and messages blocks to show all messages.