Hopefully fixed badger reset bug.