Fix for incorrect stacking order of messages.