Fix the issue that GroupBy may not call 'unsubscribe'
Fix NPE when the key is null in GroupBy