Modifies query caching to only be done if the query doesn't contain availability info.