Spark showing two users of same name in search field while searching

i have recently moved from openfire server from 4.1.1 to 4.2.3 and users imported from old database.Now when i am searching for any user in spark client , it is showing two users of same account with older xmpp domain name and new xmpp domain name. how to resolve this.

image

What was the process exactly moving from 4.1.1 to 4.2.3 an what exactly and how di you import? Also why did you have to import? It should be possible to just update in top.