Adjusted network stack active_account logic.