Catch range exceptions in compound matcher