fixed minor bug with null polymorphic m2o