Fixed issue where XMSSource discard messages incorrectly when
messageClass is set to empty