Good catch, I added a test for that case + try/except the deletion