on with expected value having a trailing slash was waiting

These would work because the backup compare would succeed.
Merge pull request #109 from KevM/ontrim

Fixed situation where on would wait before doing a compare