Fixed AMQ-5160, removed redundant MQTTRetainedMessages