Fixed slowness on table metadata