Fix defects in the CatalogBuilder and LinearRegularCatalog detected by a Hypothesis test.
Fix defects in the CatalogBuilder and LinearRegularCatalog detected by a Hypothesis test.

Kramer477/segpy,kjellkongsvik/segpy,kwinkunks/segpy,hohogpb/segpy,abingham/segpy,asbjorn/segpy