TRQ-2573. Fix an uninitialized condition in on of the refactored functions.