fixes boolean string operator bug