Can't Remove Client's Group Membership when groups doesn't have an active Loan

Description

Scenario
1-Search for a group that has no active loan
2-click on a client inside this group
3-click Edit / Remove Group membership
4-click "Click here to remove group membership"
5-Click submit to remove the client's group membership

Result
An error is displayed that this client has an active loan (check group error.jpg)

expected result
Client's group membership is removed

Workaround
what we are currently doing is moving this client to any other group by
editing the group membership and just entering any group name in the "GROUP NAME" field

after the client is moved to that group
we can easily remove the group membership

Environment

LSIM On
GLIM On
Centers Off

Assignee

Kamil Kalfas

Reporter

George Lteif

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Components

Fix versions

Affects versions

Priority

Minor
Configure