doctor now checks query cache values as well.