Make candles query work