kappa: Fix bug that caused segment to crash for NDFs with degenerate axes