Fixing regression (for mongodb 2.6)