ensure that collections are treated as sections when actually rendering the template