MIFOSX-709: adding functionality to prevent closing of client with overd...

...ue loan