Fixed bug #66474 (Optimizer bug in constant string to boolean conversion)