Split up toggleConfirmDeletion.
Use hash condition in where.