update subrange to handle value 0

Value '0' is interpreted as an invalid property name.