Bugfix in createOptionLink()