Fix bug when editing URL in page, then editing again.