change to accomodate change in numpy handling of comparison to None, fixes #84

Thanks to Peter Maxwell for this!