set schema_version also for inactive datasets (see #115, #128)