Added test and fix for bug in StructuredDataVersions.