Fix value cleaning for the CSV fields in scan form