Adjusting base-type boolean function to properly heed serif-boolean

Accidentally skipped over the second case, should be adjusted for it now. Stylus scopes the variables locally, so that serif variable shouldn't pollute the rest.