fix reference sequence set merging for empty sets