Check if module group has modules (fixes #767)