Use hasProp inside findExprType

Type fromCx must be retrieved with hasProp and not props in case when properties comes from a prototype otherwise type can be null.