Make query cache disabling work again