TNT search ending in parentheses ')' gives error

Hi,

I have a site that uses TNT Search. When the search query ends with a round bracket, like: ), it returns an error.

If I enable simple logging of errors, the error message is:

E_ERROR - Allowed memory size of 134217728 bytes exhausted (tried to allocate 134217736 bytes)

I noticed the same issue happens on learn.getgrav.org too, although only in the docs for v1.6, so I guess this might be fixed the next release?