Checking for schedules upon deleting pipeline. Closes #273.