Match tasks by queue name