Fix boolean issue

Fix issue where boolean data type is not set correctly and causes a
compile error.