bug: If you pass a subgroup to get_history, you get the history of the group, not the subgroup