core: Fix autolabel only matching first tracker in query list