Fix index template not having a thead