fixed a bug regarding a false number of entries being deleted
nvm, i'm stupid