Optimization of the zebra stripping for simple table and simple grouping table. Related to #1123