Minor Fix on Validator: no longer triggers PHP notices