Modifying the sanitize_row_values method