AI: fix for previous fix, only last column was being checked for string data