Turns out that when I run form_full_data on the cloud the rows are returned in a different order than when I run it on my local machine. This is easily fixed by an additional sort command.
form_full_data