Fixing a bug where the table context caches the wrong version of the table descriptor.