elasticsearch AR relations + null values