How to disable suggestions in Writer search and replace find/replace input boxes? [found fix]

Is there any way to disable the suggestions Writer makes in the Find&Replace input boxes?

I have made an AutoHotKey script to run a complex series of find&replace operations. It works OK except that Writer wants to make suggestions as the Find and Replace input boxes are filled with text from my script. It really messes up my script because the suggestions override the script text meant to go into those input boxes.

I want to turn off the suggestions.

[edit] I found it in Tools > autocorrect > autocorrect options > word completion. I wish there was a way to disable them in search&replace but keep them enabled in the document body.