Object id polymorphic

Here is a repro for problems with find by object id as reported by many people.