Transaction behavior modified to be correct