protected function setNullForMissingKeys(array $leafCondition)
    {
        $keys = ['type', 'match', 'value'];
        foreach ($keys as $key) {
            $leafCondition[$key] = isset($leafCondition[$key]) ? $leafCondition[$key]: null;
        }

        return $leafCondition;
    }