Only wrap string ids in BSON ObjectIds
Only wrap string ids in BSON ObjectIds

This eliminates a small bug where querying for ids with anything other
than equality (for example, checking whether IDs were within a set of
IDs) would end up raising an exception because it couldn't convert the
ID query hash to a BSON ObjectId.

jgaskins/perpetuity