Fix NPE on incorrect drop type