When using the Overlay Layers tool in Map Viewer Classic on a filtered layer, the resulting layer contains all of the features from the input layer that are visible in the map extent but not from the filtered layer.
This issue is not reproducible in ArcGIS Map Viewer. If the issue occurs, please contact Esri Support Services, as additional information is required for further investigation.