fix activity report when filtering on custom fields