Fix odd bug where an unused prompt result causes a crash