updated case-insensitive-string-comparison