the cell query now has to return the header for each element
exceptions were thrown in some cases, when the table had no headers but the row elements