Fix for workbooks opened via Excel templates.