Adding boolean support through a function wrapper.  Fixing the inverted section test.