Fix: attrd: Fixes deleted attributes during dc election

The stored value will be NULL once the deletion is successful. If it is not successful the refresh needs to clear the value later on.  We can detect this scenario when the value is NULL, but the stored value is not.

Without this patch, it is possible for attributes to not be removed at all on deletion.