Fixing not setting voting option for template rendering