Adding validation of data to check for nulls and empty strings before
parsing them for numeric types.