Fix problem with default birth date

The date of birth selector didn't handle correctly the default value '0000-00-00' previously. Fixes #670