Fixes support for caseSensitiveSort=false