Fixed inconsistency in templated value