This condition seems to duplicate the condition in the outer `if`.

Is the outer `if` meant to check if `updates[key].del` is not nullish?