Issue #167: isNotEmpty is not called correctly with compound attributes