Add nil value check

Signed-off-by: leo-ma <begeekmyfriend@gmail.com>
Fix mib group long index bug

Signed-off-by: leo-ma <begeekmyfriend@gmail.com>