fixed string equality check in ClientDelivery.addMessage()