Move the  EC_LENGTH_CHANGED event to after actually executing the change.