Specific task not correctly attached to main task after deployment