Fix for issue #4730 - stacktrace when deferenencing a non-existent group