ID check for duplicate entries now work