[security] Fix bug in report view.