tweak logic to allow for ignoring certain query strings