Ensure pattern predicates correctly handle properties on relationships