FIx for negative intervals