OptionList: fixed compatibility with latest nette