MDL-44954 messages: Fixed save notifications with the notification flag