Fixed issue where autofill field insertion partially occurred before data validation forced the script to stop.