Updated example for limiting the amount of allowed selections;
- now "more" generic (uses known element for path to other known elements)
- now applies to own inputs (instead of global inputs)