diff --git a/core/filtermaps/matcher.go b/core/filtermaps/matcher.go index 973b071937..79ee5c7d33 100644 --- a/core/filtermaps/matcher.go +++ b/core/filtermaps/matcher.go @@ -832,7 +832,7 @@ func (params *Params) matchResults(mapIndex uint32, offset uint64, baseRes, next // result equals baseRes. return baseRes } - if baseRes == nil || (nextRes != nil && len(nextRes) == 0) { + if baseRes == nil || len(nextRes) == 0 { // if baseRes is a wild card or nextRes is empty then the sequence matcher // result is the items of nextRes with a negative offset applied. result := make(potentialMatches, 0, len(nextRes))