Fixed passing an ObjectID, refs #20