Charge-swapping Q-balls in a logarithmic potential and Affleck-Dine condensate fragmentation