Qualifying for legal aid