handling of NaN values on bulk inserts