fixes #7054 activity report target query