Only add /index if there is no / in the template ID
Only add /index if there is no / in the template ID

jparyani/Mailpile,jparyani/Mailpile,laborautonomo/Mailpile,jparyani/Mailpile,laborautonomo/Mailpile,laborautonomo/Mailpile