Adding query string support for dwp_statistics