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.
Merge pull request #66 from doxout/where-object-multicolumn-fix

fix multi-field object in where clause bug