FIX for Numpy 1.5 cannot use where