Fix debug constants in logicd