Finally fixed the bugs with multiple selections & hubs.