New logic on delaying when can't run more tests. One more case of dbstruct used inside transaction found and fixed.