Solved InsertInterval problem