fix the selection + comment change bug
when search was enabled, changing a comment to something which didn’t match the search pattern – i.e. it should be hidden after the comment change – crashed.
Because while removing one row, the whole table got recreated, but with one row less, which – at least in the case with only one row in the table – left the remove function with no row to delete anymore.
selectionProtection to the rescue
also fixed the comment change case in general – rows now get properly added/removed with respect to the search pattern