Domain: Improving get_active_domains()