EZP-22830: add test  case
EZP-22830: make LogicalNot always produce positive query
Merge pull request #848 from ezsystems/fix-EZP-22830-solr-logicalnot

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