Made state search case-insensative