Resolved Validation

It would have allowed invalid values pass right through even when they
were flagged by the validation, the function would continue to run.