[#727] Check that surveyGroupId is non-null before trying to list locale...

...s by surveyGroupId.