Improve nanopub index handling