Gender, Social Origins, and Educational Choices: How it really works