Fix debug conditional