JDF-59 Fixed problem where result was not being returned