BUGFIX: Check for Boolean variables; introduced in previous commit

The previous commit, 27ccf610846c751e77f26a4533370cf121046c53, concerning
issue #8, introduced a bug by not properly checking for Boolean variables.