We only want these to operate on the "active" armature only at a time (where the "active" one is whichever the groups from the UI came from). The fix therefore is to make it not use the context functions (which were changed to always take bones from all selected armatures instead).