Unify prefix calculation rules for live templates
Platform: bug-typo in DnDSupport