Fix bug where deleted locations would not disappear