Hangle l1regValue == 0 properly.