Fixed Typo in passing Data hash to validation_function