Good catch. You can change the assert to be like this.
check(Frustum.Planes.Num() >= PlaneCount);
But this will not be optimal for planar reflection dynamic shadows. But proper fix to get this optimization for dynamic shadows will be bit more complex and you would need to add more edges to that list. In our project we use static shadows only for planar reflections so I haven’t seen this assert my self.