Fix the notice for saying undefined index when withdrawing/rejecting friendship