bugfix for objects with several class inheritances in lsall