updated to report orphaned version tables