Fix error deleting exercise (#19)