Removes double domain statements