URLs with querystrings were not saved correctly