Changed views.py fow logic for thesaurs lookup - moved delete all inside of forst If/else loop - previously it was being run beofre the check for if: POST - and hence the words were being deleted every time...