Remove unused prefixes before storing nanopubs