fix bug 928051 - correct error in migration script