in1d does not work on old numpy. Use the one backported in fixes.py