Switch node: infer intent to compare numbers
Fixes #108