Added case insensitive comparison