Export Records exports the current found set--the equivlent of "Records Being Browsed". Thus some other issue here is keeping your script from producing the correct found set or the Export Records step is exporting from a different found set than you expected. You might want to temporarily insert a "pause" just before the Import Records step so you can inspect and see what found set is present.
Also, keep in mind that if there is an error with your GTRR, nothing happens. A record created by a previous export would then remain in place and this then might show a different set of records than what was expected.
Hi, Thanks for the answer, ironically after some testing with different scripts, the script I posted works now correctly.