Adding condition for the intervals inserted.