I tested your code on one of my form and it look to be working as intented. My supposition is that you deleted the answer you are trying to retrieve but you can still get it through the script(I don't know the reason, the cache I suppose).
What I can propose you is to retrieve the edit URL so you will see that it's not the same answer (modifying it and checking the form answers).
Logger.log(formResponses[i].getEditResponseUrl());
By the way in your posted script you forgot:
var form = FormApp.getActiveForm();
or the equivalent (couldn't run your script without adding that line)