Fixing task search by process instance id