Don't use query string in path compression. Fixes #29