Changed it to is_scalar && !is_bool