Fix icase regression from pull request #77