Actually fixed flare detection