[TIMOB-16522] Added option value boolean checks in case the option was mistaken for a flag.