Move check for dynamic object to top of IsNew method