better handling of no result caching