Fix to a colspan issue when finding header rows