Detect when an invalid case node is created