Fixed a typo in the docstring for get_tasks()