Wrong validation type.

Signed-off-by: crynobone <crynobone@gmail.com>