Fixes bug in weeklysaletemplate