PLAT-10937: fix crash that was introduced in PLAT-10780
PLAT-10937: fix crash that was introduced in PLAT-10780

kaltura/server,kaltura/server,kaltura/server,kaltura/server,kaltura/server,kaltura/server