videolibrary: fix season flattening logic after e3d6b047db849af39641105af96a86e24e73a9f0