v.25.3Bug Fix (user-visible misbehavior in an official stable release)

Fix crash

Fix crash in template parsing in Values format in case of types mismatch. #77071 (Pavel Kruglov).