fix for transaction table messing up on user stats