Catch range exceptions
Merge pull request #4516 from jacksontj/develop

Catch range exceptions in compound matcher