Fix identification of matching tasks by UDA.