Nested containers generating the wrong link information. Fixes #429