Fixed Bugs in bestanime.py

There were 2 obvious bugs in bestanime.py

The first is probably due to refactoring without testing, the second a wrong variable name.