The banana flavor can be a characteristic of certain yeasts, high fermentation temperature for the yeast, under pitching the yeast, or lightly aerated wort. Also a combination of any of these potential problem areas. Good thing is banana esters tend to fade with time. Give the beer a long lagering period.
Was the recipe all grain or extract?
Do you think one of the main causes for the banana ester was involved?