Call correct function in DB Upgrade routine 10.

Fixes #1054
Merge pull request #1055 from jbeales/fix-wrong-function-call-1054

Call correct function in DB Upgrade routine 10.