[FIX] Wait for global cache data, don't run queries