Catalog: fix truncation of old data