Fix compilation error introduced by latest reporting module change.