More fixes to collection detail template.