Add contracts to filter-ops.