Fixes error when importing urls with querystrings