quick fix to stop admins adding multiple rows with the same name (which the database does not allow)