WP-2879 Adding code to configure filtering and apply filtering during import