added check to remove photos that had no filters