iOS 13 Crash: NSInternalInconsistencyException: request for index path for global index 0 when there are only 0 items in the collection view

Getting this crash only for tvOS 13 on CollectionView which says


Fatal Exception: NSInternalInconsistencyException

request for index path for global index 0 when there are only 0 items in the collection view


Crashed: com.twitter.crashlytics.tvos.exception
0   App  0x10088abd0 CLSProcessRecordAllThreads + 376 (CLSProcess.c:376)
1   App       0x10088afb8 CLSProcessRecordAllThreads + 407 (CLSProcess.c:407)
2   App                0x10087b098 CLSHandler + 26 (CLSHandler.m:26)
3   App                 0x100888ff8 __CLSExceptionRecord_block_invoke + 199 (CLSException.mm:199)
4  libdispatch.dylib              0x18f7cd338 _dispatch_client_callout + 16
5  libdispatch.dylib              0x18f7d9b68 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  App                        0x100888aa0 CLSExceptionRecord + 206 (CLSException.mm:206)
7  App                        0x1008888d4 CLSExceptionRecordNSException + 102 (CLSException.mm:102)
8  App                        0x1008884f8 CLSTerminateHandler() + 259 (CLSException.mm:259)
9  libc++abi.dylib                0x18f6f5304 std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x18f6f529c std::terminate() + 44
11 libobjc.A.dylib                0x18f7041dc _objc_terminate() + 10
12 CoreFoundation                 0x18fd6e400 __CFRunLoopRun + 828
13 CoreFoundation                 0x18fd6dd9c CFRunLoopRunSpecific + 464
14 GraphicsServices               0x19220c328 GSEventRunModal + 104
15 UIKitCore                      0x1b2c8d934 UIApplicationMain + 1852
16 App                        0x1004ed924 main + 21 (ENPlayerRecommendation.swift:21)
17 libdyld.dylib                  0x18f80a5f8 start + 4


Any help to point in correct direction would be helpful.