Fixed a case sensitivity bug