Fix NPE when selecting a type which isn't implemented yet.