Fixed bug where it was looking at the wrong header.