Prefer checking if slayer targets is not empty before doing task lookup. Introduced in c8105908c0
c8105908c0