Don't increment counters when importing Device/DeviceZone records.

Previous problem: if other records were saved prior to last time Device
or DeviceZone was saved, then during the sync_device_records() call the
counter would get incremented and skip the intervening non-device records.