coltotal and rowTotal are set to false initially. Fix checking the size of associative array.