fixed an error with records having no pregnancy status