fixed filterObject for multiple criteria