Fix casing issue which caused template cache to not get hit