Fix a bug that affected templates without Meta: header.