Fix bug that a completion window is displayed even if argument does not match