[log] rename type parameter to a more descriptive name
[log] IDEA-115901 Keep selection between refreshes and filtering

Before updating the model get selected rows, get Hashes by rows.
After the model changes, iterate over its new rows to find all
Hashes which were previously selected and select them by new row
indices.
consider parentheses