fixed issue with checking for empty list instead of null.
Fixed issue with determining iserrorproperty to determine property
associated with error soruce without a type as part of the path.