Add parent task to all task results
(cherry picked from commit 6f7904ab32160d057af7a9b89b569fece3cf33ad)