Fix value returned for boolean observations in encounter transaction