ref-log: fix D/F conflict coming from deleted refs.