The Assistant profile from the AutoTools app executes when I switch to a different user. I'm running Android 8.0 on a LG G6. I already kind of fixed it by checkin in my task if I'm currently logged in to my main user before actually performing the actions in said task. This only a partial fix because sometimes the Assistant profile activates before the profile I use to check which user is logged in. This means the task is sometimes executed fully. This is a minor inconvenience though, just thought I'd let you know.