Keep only one of the entries instead of all of them