Call correct function in DB Upgrade routine 10.

Fixes #1054