Related Records not showing properly In popup

For some reason ,with those changes, it now pulls all Loan payments record (not only related ones) for each row

btw if this will be simpler with a Screen share let me know

Thx