Fix issue when an operator follows equals()

This fixes #181 by overwriting the existing query with an empty array to avoid invalid string offsets or invalid array accesses when calling any query operator after having called ```equals()``` on the field.