Fix issue if no rule matches and params/query typo