Fix bug when setting values with no subscribers