Fix Python script to use None instead of 0 *everywhere*.