fix: correctly set new cycle begin and end date when extending membership linked to a contract