When an interval tree entry has a negative end position, drop it. I think this should fix the crash in bug 3136