Fixed weird behavior when using tab with an already selected completion