Fixed argument encoding, hiding of hash and count in url selection, counting bug