Sentences of boys spared custody over rape referred to Court of Appeal.