REL-792 : change mistaken return statement