Fix length attribute for casesi_load pattern.