Fix stored urls if using wild matching.