If there is at least one marked edit in the group of edits, then the whole group is colored, including edits that should not be marked.
If you remove the coloring from the table, you can see that only a few edits should be marked.
This can be solved by moving the coloring from the table to the first row.