Removes unnecessary transaction.