Rollback after delete record failure

failing test for #2344

Note. I don't know if the first test (with failing save) is worh it, since it seems like the bug is narrowed in the second one.

cc/ @igorT