** fix for #282: prevent crash when trying to select non-existant value **