Changed block reasons db hierarchy logic