Fix always failing header checks