Recompiles with query parameters. Fixes #1