Fixed issue where the source parameters were not used.

The values 0 and 1 are now now supported in SetPropertyValue.