Cleaned up a bug when removing a GPX map from the model.