Fixed SelectBox raising exception with null options

Fix for issue #4639
The probably should probably be fixed in `FormHelper` to ensure it doesn't pass null options to the widget.