Remove duplicate entries