Prevent duplicated entries.