I would suggest changing this anchor tag to

```html
<a href="{% url 'map' instance_id=last_instance.pk %}#add">