issue #23406: guard activities list
Merge pull request #1423 from shackbarth/23406

issue #23406: guard activities list