Fix some smarty problems arising with cmsms 1.11