More Numpy FutureWarning regarding array comparisons to None fixed