Fixed deleting maps

Fixed an issue where you couldn't delete maps from the `list_maps` page. Now it totally works.