Fixed code to reassign approval tasks to the old user (#851)

Tested locally on gh-851, looks good.