A good practice would be to use `ensure_index` to set up a unique index in the DB to protect the data against any type of logical error.