Fix NPE if a condition type doesn't exist.