Add support for None to Function.add_conditionals on_false argument

Add explicit None check with conversion to NULL for the on_false argument.
Additionally add '=None' as a default value for on_false.