Fixed overlapping fragments

Change-Id: I2e31cabc78621ddb43037e2b4477523f77d3fa7d
Improved error handling when retrieving debts

Change-Id: I36132086b75032699637b836833ab59a112b010e
Performance and error handling improvements

Change-Id: I963b84a38e6417c12e05ef1b3c0e31d4c1ca3931