fixed exception when using non-ObjectId _id fields