Small fix to schemaUpgrade, Closes #807