fix key error 'categories'

Merged Jan Grasnick requested to merge 7.0-patch-fcd8 into 7.0

Merge request reports