fixed merging of value sets