Text this: Accounting for dynamic selection bias in educational transitions