Fixed bug using min_age instead of min(ages) - thanks Marta Soffker