Add ID in task query