Fix EZP-22830: having query with LogicalNot generating subquery returns empty result set

This PR resolves issue https://jira.ez.no/browse/EZP-22830

This applies only to Solr storages.

In the case when LogicalNot produces pure negative query, no result will be returned.
The problem is fixed by making LogicalNot always produce positive query.

See issue for more details.