Bug in this.derived

It wasn't returning the most derived instance....