Protecting from transactions with null attrs or kind