Delete redundant entries.