Fix the possibility of entering redundant list entries.