Why not check ``getSelectedValue()`` for null, if we access it anyway?