Sets the correct context on assignments for todo items