Fix bad validation on RequiredValidator

Signed-off-by: Kevin Nguyen <k.nguyen@thecodingmachine.com>