SparseVector: got rid of NPE when getting value for null indices