Update inventory compatibility with TC and Baubles. Fixes #966.