Added missing return in delete-controller