fixes #7564 activity report errors if order by without displaying field