Fix issue where $in clauses were being recursively parsed.