Fix decoding of wdb-placename to handle autogenerated grid-names.