Update Validate.php

Fixes #10