Fix type warning in XCode
Check that TE duration changes when stop time is changed