Fixes if there are no changed records when exporting data from sierra