fixed merging when some DSs have 0 entries