Cannot delete employee NOT linked with another employee

I am getting the error message below even after removing the Reports to link.
“Cannot delete or cancel because Employee EMP/0007 is linked with Employee EMP/0002”
Now EMP/0007 does not report to anybody but was earlier reporting to Employee EMP/0002
Is there any other link that is setup between two employees which I am missing or is it a bug?
Has anybody faced a similar issue earlier?

EMP/0007 will either be listed in “Leave Approver” or “Reports To” of EMP/0002.

Just tested it, works fine. May it is added as Leave Approver or Expense Claim Approver, there is definitely some connection.