RT | #840 | fixed bug in the reports