fix: Better check for scalar in parseRow