Replaced set*(null) with unset*() to clear empty attributes that were causing invalid...