on_before_validate was being called twice, one before validate and once inside validate
validation helper checked for integer instead of numeric causing non-integer numberes to fail required test