The question I'm referring to can be found here: How to create a suitable for each loop and output?
As you can see from the revision history, it used to be a completely different question about some jQuery/JavaScript code. It received very little attention, and no answers. It has since been edited (by the original asker) into a completely different question about PHP.
Normally I'd just rollback to the previous revision. However, it has an answer posted to it (answering the new question, not the one it was originally asking), as well as a bounty attached, so I'm not sure how to proceed.
What steps should be taken to resolve this kind of situation? Is rolling back to a previous revision - making subsequent answers invalid (through no fault of the person answering) - the correct response? Since there were no answers to the original question, can it simply be left in its new state?