Fix - Task ID's not being found

Some changes to the API broke the method of finding IDs which I had been
using. This fixes that.