Move the association check to the end of the header checks