Fixed lonely sealed trait when implementations are in nested objects
More fixes for sealed trait inspection