Added array option to option_text param in select generation.