Fixed bug in MongoDB voting updates