Fix ObjectId casting bug in get_one and delete_action
Merge pull request #218 from mostafar/master

A bug occurred in get_one, solved in this change.