Fixes a bug where model id wasn't converted to an ObjectId before removal