FIX Trac #1332: make isStringTy work right