Remove isValid() check for current segment before attempting the switch.
Remove isValid() check for current segment before attempting the switch.

This properly fixes example 14 in #784.

byte-foundry/paper.js,iconexperience/paper.js,lehni/paper.js,lehni/paper.js,lehni/paper.js,byte-foundry/paper.js,iconexperience/paper.js,byte-foundry/paper.js,iconexperience/paper.js