run number bugfix in example macro
fixed problem possibly causing database inconsistencies