Fix to clean Validator.php

Clean code in validateAccepted(), more explicitly expresses the logic.  Update unit test to match.

Based on franzliedke suggestion from previous pull request.