Fix type cast exceptions from MongoDbClient
Prevent attempts to update _id field

Fixes MongoExceptions that were being raised previously