Fix bug in converting to scipy sparse