#865875 k*m<TAB> becomes kaaaaam despite other matches