PROJ-143: Calculate age_max in registration