There is more than one way of dealing with irrecoverable debts (all that matters is that the final balances are the same whichever way it is done).
The easiest and best way is to always Dr Irrecoverable debts expense Cr Receivables.
The logic and the entries are all explained in our free lectures. (Our lectures comprise a complete course covering everything you need to pass paper F3 well.)