When using #LIST CLEAR on a variable that, itself, is a nested variable, instead of clearing it outright, it seems to revert it back to whatever variable it was set to prior to being a list. If it's not a list, then it just does nothing.

After that, if there's a variable with the same name as the deepest nested variable, that gets cleared. For example, #list {a.b.c} {clear} will clear the variable named c.

The below code should demonstrate the behavior of this bug pretty clearly: