A small tweak for bug #7906.  It now inserts the device record through the table like it does with the other records.