Remove empty attributes from defaults