Hotfix/boolean compare

use native type, if value is a boolean