Delete in reverse order from database
Delete in reverse order from database

(cherry picked from commit 68d52cc19e1bcf1429e4ae34322bb7a6ec1a903a)

uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend