Does not crash on multiple `q=` parameters

Fixes #2.