Improved grandmother predicate.