Fix bug on report editing page.