Debugged trim nans in validation class