Fix for client activation withing a group and JLG loan 500 error
Merge pull request #1136 from Nayan/MIFOSX-1650

Fix for client activation within a group and JLG loan 500 error #MIFOSX-1650 #MIFOSX-1647