Maint: minor patch on booleans

Hi,

This is a minor patch :)