Fixing database error when submitting annotation

task_id was still used when that column did not exist in the new table
anymore.