Fixed a second bug with IsReadOnly