Correctly assign the CSS classes "odd" and "even" to the table element (see contao/core#5324)