fix multi-field object in where clause bug

When a multi-field object is passed to a where clause, all
fields except the first one were being ignored. This commit
fixes the bug.