fix(upgrade): no longer try to process upgrade files from before
installation version

The unprocessed upgrade files include everything which isn't listed in
the databse. But on a fresh installation nothing is added to the
database. This skipps all files from before the version in the database.

fixes: #7457
Merge pull request #7613 from jeabakker/upgrade-proccessed-files

fix(upgrade): no longer try to process upgrade files from before installation version