minor performance tweak for getactivetests