Fix the globalPredicate.type issue.