Perhaps that when her mind regressed as Nancy Rushman, Natasha's memories were intact. Thus she was playing the role of a school teacher in hopes that Spider-Man would come to her aid. The Black Widow's partnership with Spider-Man is one of the greatest team-ups that was never fully explored, except for Chris Claremont's Marvel Team-Up #82 thur #85. You should read those issues to fully understand the story.