Fix stack overflow error when accessing a missing sound on a group

Prevent infinite recursion when a sound is missing. Otherwise a stack overflow error is thrown and the offending sound Id is never reported.