[Bug]: Removing the parent operand in a boolean expression does not remove its children

Public continuation of this internal issue.

Edited by Jeroen Breteler