I have a really simple query that I have exported to a csv file. For some reason I am getting double entries in the end file and have not been able to determine why.