     dispatchedExactMatch = null
     partialMatches = @findPartialMatches(partialMatchCandidates, target)
     hasPartialMatches = partialMatches.length > 0
+    shouldUsePartialMatches = hasPartialMatches
 
     # Determine if the current keystrokes match any bindings *exactly*. If we
     # do find and exact match, the next step depends on whether we have any

    @queuedKeystrokes.push(keystroke)
    @queuedKeyboardEvents.push(event)
    keystrokes = @queuedKeystrokes.join(' ')
    shouldUsePartialMatches = true

    # If the event's target is document.body, assign it to defaultTarget instead
    # to provide a catch-all element when nothing is focused.

        for exactMatchCandidate in exactMatches
          if exactMatchCandidate.command is 'native!'
            shouldUsePartialMatches = false
            # `break` breaks out of this loop, `eventHandled = true` breaks out of the parent loop
            eventHandled = true
            break

          if exactMatchCandidate.command is 'abort!'
