Operators should not act on non-visible entities really. Posemode already did the combination of "visible and selected" via `FOREACH_PCHAN_SELECTED_IN_OBJECT_BEGIN`, editmode didnt. To resolve, add `EBONE_VISIBLE` as a condition (as done elsewhere). Pull Request: https://projects.blender.org/blender/blender/pulls/133660