Please go to the menu Tools and press Model Naming Options
Go to the Name Mapping tab and press Reset Names
Check OFF everything except for All Index Names and press the OK button
Your macro should now be applied to all the indexes wherever appropriate