CRM-14838 tokens not working when value is rendered as an integer