fixes #7748 condition subject search on activity type id