Argh, fix commit on delete (yup, need tests.)