changed order of illegit tx deletion from DB