Now better error handling for duplicate intervals