Updated validation of goal and deleteGoal logic