Pass the right searchscope variable.