Changes the order of filtering and change identity selection. The current code identifies change segment first and then filters it. This flow order can result in missed change when the year filter is used and change identified as greatest/least, earliest/latest, fastest/slowest etc. The fix is to filter the segments first and then select by change identity.
I've done some testing to ensure that the changes WAI, but if you are aware of specific cases where the old implementation was incorrect, please test them. You can use the script mentioned here for testing - change parameters as needed (see docs for parameter defs).
Closes #22
Changes the order of filtering and change identity selection. The current code identifies change segment first and then filters it. This flow order can result in missed change when the year filter is used and change identified as greatest/least, earliest/latest, fastest/slowest etc. The fix is to filter the segments first and then select by change identity.