remove duplicate confirmations when adding a confirmation