Avoid exception on invalid option selection.