School fixes: Programme search (ranges)