Fix isEquals null check: check for constructor in the objects per @jdalton