Fixed attribute error for videos without tasks