[TIDOC-1487] Lowercase the string if it's a boolean