Protection against duplicate entries