Fixed truncation check.