Fixed a delete goal bug