Profit and Loss/Trial Balance including opening balances

When I run a profit and and loss also a trial balance, the profit an loss codes are including opening balances.

Running a profit a loss for a custom period it even includes brought forward figures.

Running a trial balance in custom range, excluding opening/closing balances still produces the same problem.

Is this something to do with dates when Sage was set up?

I cannot change the year ends as it states transactions are included, the year end shows 30/08/2019 and start date 01/09/2018. I did not have this problem last year but I cannot run any reports for 31/08/2021 without it including the brought forwards in the profit and loss.