Forcing skip logic to top of loop

This improves performance a minor amount and partially resolves an
issue around regex routePaths; a true and final mitigation may need to
either convert the routePath to String always [may behave unexpectedly]
or to have two paths through the code, one for String routePaths, and
one for regex routePaths.
Merge pull request #2 from jangie/master

Forcing skip logic to top of loop