Fix bug where deleted model not sent to server.