Update some internal compiler predicates to use faster calls to access entity relations information