Added DWC occurrence standard and removed the grouping fields added clause: when the main operator of a query is OR, if we add a clause to ensure that the grouping fields are present, if these fields exist in all records we get all records.
Removed the code to add the clause, if needed it must be re-engineered before adding it to the code.