I've run into this bug a few times over the years. Select by attributes on Feature will return Feature_layer1 with the selection on it. The original Feature layer will not have a selection. Has anyone else ran into this? In the past it sort of just went away on its own, but I've restarted, created a new project etc and it is still happening.
tags: SelectLayerByAttribute, bug, duplicates layer