Fix has/getProperty when an object implements ArrayAccess but want to check/get a property instead of a key.