Fix so that empty attributes still track a change