[router/hash] ignore empty querystrings and hashes