Fix issue where boolean was not evaluating properly