Add dependency to DB Upgrade Routine 6

Fixes #1051.