Hi eeldergill,
You did not attach the log file as it happens.
Are you sure you are viewing the most recent log for that trigger, i.e. you could be looking at the older records referring to the period when your trigger had different conditions (if it ever had). Anyway, the log is a must in this case.
And, on a different topic, there is no good in putting market variables, such as market_id, in the name of the user variable myflag30_market_id. User variables are topmost in the hierarchy of variables, so they are always parsed first and cannot contain any other variables - neither embedded nor user-created. The very fact that you set this action to be executed individually for each market makes it unique for every market, so no need to add market_id.