add group by to the vamps_sequences_transfer insert