Always change stop time when duration changes (lib)

Should fix the 'stop time before start time' messages.