The previous record of them at the school in 1891 showed the fees so I was surprised to see them still there in 1895 a year after they became orphans.
They weren't there that whole time:
The record for William Henry in 1991 shows him arriving 24 Aug 1991 and also leaving on 28 Oct 1991, reason being "left district".
The record for the pair of them in 1995 shows them both starting school on 07 Jan 1895, with William leaving 29 Jul 1896 for work, and Walter leaving 10 Jun 1899 as he left the district.
Flipping forward a few pages, you will see several children from "Glossop Union" as well as several from "workhouse", so the school was making a distinction between the two in their records.
At the beginning of the 1891 book, you can find the Education Board rules; in particular the one saying no grant can go to the school unless it was conducted as public elementary school, and refused no child unless there was some specific reason.
One rule was that each child was to be given a unique number, so if they came and went, they would always have the same number. For some reason, William's number did change from 1891 to 1895. Perhaps he was not there long enough in 1891, or just some clerical error.