A note on the estimation of models with sample-selection biases