[FIX] Fix duplicated lines in different currencies. Repare error and avo...

[FIX] Fix duplicated lines in different currencies. Repare error and avoid duplicated lines when currency changes