The code for making use of the looked-up dictionary value was not being generated in cases where the opt-list's "value" attribute is not used.