Five students win terror appeal