Fixed a crash that occurred when deleting a mac lease without the interface being deleted