Changed call to string.Equals() to be case-insensitive.