Fix store pages error on deleting a location.