CFY-1433 small fix in dsl parser type check