Add null checks to transaction processor.