You were making case-insensitive before by the looks of it (toLowerCase() was used) .. is that change okay?