feat(engine): add followUpBeforeOrNotExistent to TaskQuery

related to CAM-2809