Fix up the balancing code for an erase.