Fix a regression in selectField