Fixes #25

We accidentally forgot to re-assign the filtered query back to the
"query" variable when choosing an lswitch.