Fix grounding predicate for corner relations.