Return the newly created instance
Modified query to check the InstanceID
Added InstanceID column and keyed on InstanceID, PropertyID