FIX: objects built from multiple inheritance were no longer detected by the compiler.

This is a recent regression causing the compiler to generate much more verbose and slower code than needed.