Fix spelling typo.
Fix for choosing the correct node to walk the tree from when slicing for a filter using tagged inputs, plus refactoring of insanity check.
Remove some temporary debugging helper code.
Use correct expectations in the tests for filters using tagged inputs. These need to be expanded, but the previous ones were just plain wrong.