Argh! Just realised this no longer handles the completely full case. Which means doing the indptr diff again :(