I'm creating an amortization schedule that automatically recalculates whenever I put an amount at my Payment field. I have no issues with the computation but the problem is that it creates an infinite number of records with zero values after the last payment. How do I stop it from generating new records so that my last record is my last payment?