Fixes #25

We accidentally forgot to re-assign the filtered query back to the
"query" variable when choosing an lswitch.
Merge pull request #26 from Cerberus98/issue25

Fixes #25