Lab did not yet have an id when creating the tasks.
When creating the tasks we use a lab which has already been saved such that it already contains an id.