rem: if (start.compare(this.soon.end) <= 0) 
add: if (start.compare(this.soon.end) == -1) 
context: function findPeriodForItem(item){    var start = item.startDate || item.dueDate;    if (!start)         return null;    if (start.compare(this.today.end) <= 0)        return this.today;            if (start.compare(this.tomorrow.end) <= 0)        return this.tomorrow;        if (start.compare(this.soon.end) <= 0)        return this.soon;        void(item.title + " @ " + start + " not in range " +         "(" + this.today.start + " - " + this.soon.end + ")\n");    return null;};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b59cb146f18cea091fac13a2c27672aff30e90e7/agenda-tree.js/buggy/calendar/lightning/content/agenda-tree.js