The judge should have dismissed the jury pool and started with a new one.
Seems to me that if the prosecutor had confined the case to the dealing charge, the potential jurors might have reacted differently.