Added semi completion when all hints have common prefix