Fix (hopefully) broken DataValidation class

Signed-off-by: emanuele <emanuele45@gmail.com>