Fix bug where cache_info() was not called for some predicates.