fix in filtered duplication and deletion of materials