Aporia crashes in "Replace All" when Find==Replace
I want to fix case inconsistency a nimrod file (N.nim on ParticleBench, btw). So, I'm using the 'Style Insensitive' search, and I want to run a replace all with the same name string in Find and Replace (for example, "PrintFrames"). Aporia consistently crashes when I try to do that. If I find for some string (ex: "PrintFrames") but ask it to replace to another different string (ex: "asdf") replace all works. Manually clicking on next and then replace for each ocurrence works.

Below the console output when I run aporia and trigger the bug:

```
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkRange::activate-slider' of type `gboolean' from rc file value "((GString*) 0x91acab0)" of type `GString'

(aporia:3223): GLib-ERROR **: /build/buildd/glib2.0-2.38.1/./glib/gmem.c:175: failed to allocate 8192 bytes
Trace/breakpoint trap (core dumped)
```
