#extract-params returns nil for bad query strings