fixing a typo.
ODE-894: messages should be correctly persisted. Thanks to Kurt for the patch.