[finishes #46852027 #46476035] prevent users from cancelling other users' queries