Filter resources with duplicate spec classes