Some tweaks to predicate cacheability.
Don't cache predicates that are proxies.