Case Insensitivity added

Ensured the check ignored string case