Natron - automatically adjust render frame range
Go to the writer properties and change the "Frame Range" value from "Project frame range" (or less probably "Manual") to "Union of input ranges".

This, as the name indicates, determines the frame range as the union of inputs you pass to the writer.