fix @index predicate context node errors