LazyClass: getExtendedType was incorrectly fetching a level too high #1415

Test now passes