Fix typos in tasks controller.