Use split_nonempty instead of split in conversions.