Handle 'None' in populate_obj