Markets with Within-Type Adverse Selection