Fixing #2.
Merge pull request #4 from walling/master

Does not crash on multiple `q=` parameters