Fix error when date_of_birth is None