Bug 16157: Move the selected flag from GetAuthorisedValues to the templates