Fix bug regarding answer speech string being replaced by incorrect input speech string