Fixed 'Bug 16268 - Type system exceptions in the log'.