Fixed duplicate retained message storage on Mongo.

Closes #61.