Fix against newer version of mongo client gem.