Removed program crashing console.log

Rest of program handles the case that dragged_num is null, but console.log was still causing crash.