Mongoose validation error correction