Can you rerun the first two sections with no syncs please?
(edit: because the concern I have is that maybe you are getting the result earlier in the .data case because it’s not waiting for the data to arrive first, and just giving you some garbage result  )