Fix crash when displaying loans with zero investments
More ideas on todo page