Totally minor style point, which I don't care if you ignore, but I would have written: 
```
closeHintOnNextKey = candidates.length <= 1;
selectInitial = !closeHintOnNextKey;
```