Add history substring search