Fix bug with clicking edit button taking you to edit wrong map