trunk-4021

this ticket is regarding when we add duplicate person attributes from
database it is not merging duplicate attributes.
so I changed code that merges duplicate attributes.