Fix bug with failing to examine loadable types from an assembly, when at least one type in the assembly is not loadable

(cherry picked from commit a38a01c9315b06399c1f50f7f762afe3d5b6fc6d)