Fixed bug with invalid ObjectId definition