Updating View Formula Clears 'Generate Unique' Flag

I have a view which needs to check a form date against today’s date. In order to avoid using @Today, the date is hardcoded and updated by an agent each night.

The problem that I have is that updating the view formula is clearing the “Generate unique keys in index” property. Is there anyway to programatically set this field or prevent it from being cleared when the view formula is updated using LotusScript?