Bugfix. Accounting for case sensitivity now. #1164