Allows for sensible default filter comparison

Rather that statically defaulting to 'eq' comparison it looks at type and determines if 'eq' or 'contains' is the better default.