[BUGFIX] Better caching of TCA for bulk inserts