Fixes bug in reports index.