fixes #7748 expand include/exclude to have activity elements