MIFOS-6020: Added foreign key for relation between change status and account notes
MIFOS-6023: Fixed cannot add group membership to clients with closed loans with period fees