Thousands of ATM cards cancelled