Fixes erroneous misformatting of top-level $and/$or clauses
Merge pull request #365 from rafaelkaufmann/master

Fixes erroneous misformatting of top-level $and/$or clauses