Fixed bug so that matching case is not required for pinyin