The settings.frame_start rna was clamping frame start to frame end when frame start was bigger than frame end. The fix is simply to set frame end first
The settings.frame_start rna was clamping frame start to frame end when frame start was bigger than frame end. The fix is simply to set frame end first