fix a bug where the exception is thrown in Option.SelectMany method

If resultSelector function returns null, this method was throwing an exception.
fix to return an None value.