// filter for selection criteria
if (
// ignore features outwith alignment start-stop positions.
- (sf[f].end < sstart || sf[f].begin > sstop)
- ||
- // or ignore based on selection criteria
+ (sf[f].end < sstart || sf[f].begin > sstop) ||
+ // or ignore based on selection criteria
(featureLabels != null && !AlignmentSorter
.containsIgnoreCase(sf[f].type, featureLabels))
|| (groupLabels != null