Well the solution for future crops is to determine the source of the pollen and eliminate it. If you have a cultivar thats throwing bananas then toss it. Sometimes it can be caused by light leakage, problems with a timer or a door left open during the dark cycle. Bag seeds often throw bananas, thats how they got there in the first place. So it can be caused by genetics or by environment.
Several years ago I was consulting for a commercial operation out here in Colorado, the dude that started the operation brought a large collection of bag seeds he had been saving in florida for decades. I warned him that bag seed is more likely to produce bananas, he didn't listen. Their whole room was pollinated by several sources and you could even see the little banana husks laying in their trays all over the place. It was a massive fail. Then he had the nerve to start selling the seeds SMH, just gonna produce plants that make pollen. They went out of business because they wouldn't listen and kept losing harvests to various preventable causes like mites (their helper would come in and water plants right after running a weed wacker in the bosses yard SMH), powdery mildew, and the pollen.