Fix reference search hint cutting off last suggestion GitOrigin-RevId: a8b3e32e1173b27602b0576c1b00afcc1cbf7683