DatabaseComparison: don't compare last element, but first