Fixed 0 option bug in bool function.