Fallback to defaults given bad query string

Fixes #5
Fixes #6