Fix bug detecting white candle