Arcpy seems to be adding all features to a map, when I only tell it to add the selection layer. Any ideas what I can do to keep the filter on it? I am running the script from a custom toolbox in an active session.
selection = arcpy.management.SelectLayerByAttribute(layer, 'NEW_SELECTION', "OBJECTID IN {}".format(ready_to_delete))
selection_layer = arcpy.management.MakeFeatureLayer(selection[0]) #### 9 features
m.addLayer(selection_layer[0]) #### adds all 16 features for some reason
