FIX mongoCmd() modifications not included in the last PR