Changed template to not use {{#each}} context switching