Changed some variables in reports.xqm.

References #522.