BUGFIX: make sure option with value 0 is selected

I had the problem that if the options have numerical values of which one is 0 (zero), the option is not selected because the check for the value (which is zero) is false.