Fixed problem with base types not being initialized before derived types in certain cases including generic types in the chain (#222)