Fixed header logic so it will work on all forms of hazard curve data