`ED_object_base_activate` is changing the active base `view_layer->basact`.
This is exepcted for left click and ctrl click selection but we don't
expect to change the active element when selecting hierarchies. So to fix
this add extra `if() check`.
`select hierarchy` is treated in similar way as we're selecting single element from outliner.
When `object_select_hierarchy_fn` is called for the first time, we clear select flag for all elements
in `outliner_item_select`. This causes issue when `select hierarchy` is called for multiple elements.
So fix is to not touch select and activate flags when `OL_ITEM_RECURSIVE` flag is set.
Old Differential Revision: https://archive.blender.org/developer/D16804