Fix handling of boolean attributes

A schema says that an attribute is a boolean and is required for an
object class. When passing the Ruby false (FalseClass) to the
attribute, then the value is converted into an empty array, which is
wrong.