Fix bug in ReadOnlyProp constructor