array checks added to parseSqlAll