Fix bug in subgrid crudurl when api_domain is set