Added dis example for select node
Added an error if an unknown function is added
Some small changes

- Fixed a typo that would cause incorrect mapping
- Added nested if to select examples