Added delete functionality for Intervals