Query params bug

Fixes #68