Bastion: fixing issue with template URLs post engine.