[MONDRIAN-1934] updated isTooRagged decision to allow for more usecases,
also added trace info to sql logs for future debugging cases.