Fixed bug when user first edits an interval, thereby setting self.model.currentInterval, and then entered a new interval, the new interval is inserted into the middle of the list rather than at the end.