To delete the department that is still in use in a leaver record follow the steps below:
Click Access Button
then click Employee.
Click Quick Filters then select Leavers.
Select the user then scroll down to their department tab.
Change it to something you wish to keep then click outside of the box to save.
You can also Add or edit options in drop-down lists.