Bug fix: grouping by buffers in compareErrorItems().