reporting: fix assertion