Fix notice about convertion of MongoDb Types