table versioning fixes based on recent schema changes