Fixed escape error in message store

One more fix for #4