Fix query cache size