Safety first: create a local copy of the index in DAM_SetProperty() just in case SetProperty() tries to do anything "funny" with it.
View differences
Safety first: create a local copy of the index in DAM_SetProperty() just in case SetProperty() tries to do anything "funny" with it.