Modified fix for Issue #81 using numpy any