MT#7239 enforce boolean context