Examine doesn't escape special characters?

I’m creating an IQuery and I want to make sure that only a subset of documents are searched:
query.Field("path", parent.Path.MultipleCharacterWildcard());

This translates to +(path:-1,1230,1242,1318,1319*) +topicTextContent:"test test" when I call query.ToString().
When I execute the query in code I get 0 results. But when I copy/paste the Lucene query to the Examine tab in the Umbraco backoffice I will get the desired results. The only thing I had to do was add a \ before -1, because the - character needs to be escaped.

I’ve tried to add the backslash before the path so now the Lucene query is exactly the same, but still no results.
query.Field("path", "\\" + parent.Path.MultipleCharacterWildcard());

Did I encounter a bug in Examine or did I do something wrong?

You can always ditch the fluent api and add a native query
Searching | Examine

query.NativeQuery("path:-1,1230,1242,1318,1319*") (may or may not need the \-1)

(assuming your query is set to and and not or.. )

or maybe query.NativeQuery($"path:{parent.Path}*") for dynamic?

When I convert my whole query to use NativeQuery it will work. But sadly the whole codebase is using the fluent API so that would require a significant rewrite.

I tried to use NativeQuery for only the path part but that didn’t work.