Fix "Email already exists" error with MongoDB 2.6

Fixes #2238