This is the expected behavior at the moment. It may change in future.
After quoting a message, the final user can be wrongly redirected after tapping the quote if the quoted string is found more than once in the message, because only the first coincidence is used when redirecting.
You are redirected to the first occurrence of the word.
Telegram Android 10.1.3 (39449), Samsung Galaxy A13, 13 (33)