Query works regardless of parameter's letter-case