Matching Models and Housing Markets: The Role of the Zero-profit Condition