[MONDRIAN-1934] fixed logic mistake while cleaning up code for isTooRagged