Minor typo fix in models.py

There's also an unused variable at line 86, I didn't delete it bc I'm not sure if it should be used somewhere in the method.