Added additional check when pushing element as point or ranges to add ranges with same start and end time as points, because as ranges the ticks have size 0