In a brand new Sandbox game in Factorio 0.18.26, I get the following error when pushing the Construction Drones button in the toolbar:
Error while running event Construction_Drones::on_lua_shortcut (ID 34)
__Construction_Drones__/script/construction_drone.lua:2719: attempt to index local 'entity' (a nil value)
stack traceback:
__Construction_Drones__/script/construction_drone.lua:2719: in function 'scan_for_nearby_jobs'
__Construction_Drones__/script/construction_drone.lua:2757: in function 'handler'
__core__/lualib/event_handler.lua:47: in function <__core__/lualib/event_handler.lua:45>