options: fix parsing of boolean attributes