I have a an automation that runs every night at 11:30PM EST which queries a project and finds issue(s) wthat meet the critera. What I want it to do is create a single version then foreach issue found edit the version field to match the created version and then release the version

What is happening is it seems to have run twice?
Here is the query that is scoped to that project
updatedDate < endOfDay() AND updatedDate > startOfDay() AND Sprint is EMPTY and fixVersion is EMPTY and deploymentEnvironmentName ~ “prod“ and status = resolved

Any help would be appreciated