Check conditions
Workaround: use emptycontet as value for empty attributes