Fix hid-all.py findinlist function