Fixed skipped empty attributes.