Fix deleting a custom field. Also delete any device data associated with it.
Fix deleting a custom field. Also delete any device data associated with it.

Opmantek/open-audit,Opmantek/open-audit,Opmantek/open-audit,Opmantek/open-audit,Opmantek/open-audit