It might be because the field is not active and the first keystroke being sent does not get passed properly. Try using Focus text field in window action before trying to send keys, or try to add an extra character (like a whitespace) in the beginning to work around the issue.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.