Didn't allocate enough data for voice groups to be zero-terminated on the first call, and one voice group check was reversed.