Ticket #1155: Make it work when the same report is repeated on the page, fix