I'll Try to give example. I have uploaded my library template by name expense and saving.
E. G
There is an expense entry on account as loan given on some particular date. So the amount is recorded as debt.
Now some other date that amount has been returend, so an entry is made for that date with loan as credit. Plus a link is made with the previous entry of debt. Upto here everything is fine
Now when i filter all expense so only loan entries are shown. And then group them with linked entries. But I don't know why but only one entry shows up properly with both debt and credit entries grouped togather. Rest they do not get grouped or show only that has one entry but in actual they have atleast two entry linked togather for one debt and one credit
Added pics below also