Bug fix to property saving.