Fixed a bug when shoing bills with loans already generated