Fix a problem in recording whether or not elements were found in a child tag. TRQ-2224.