Fix emptying of mongo collections