Fixed a bug in the client API where get_output_tasks() was returning input tasks instead.