Harder for disadvantaged pupils to catch up as they move into secondary school