Raise precedence of property lookup

Now higher than IN. Fixes #1295.
Merge pull request #1296 from cleishm/property_precendence

Raise precedence of property lookup