Fix to handle lower case canonical names
Merge pull request #1158 from ryanjbaxter/master

Fix to handle lower case canonical names