Output file missing data from conditions file

When the study is completed online (i have gathered data using Prolific) the output files are all over the place (separate topic i have posted) but when it is all tidied up i have noticed on the last trial it has captured the relevant onset timings etc but it is missing the data it pulls from the conditions file. The previous 200+ trials before it have the data but not the last one. Does anyone have any ideas? Thank you