referring the same entity twice is broken

Closes #3450652

Merge request reports

Loading