Fix getUrl bug with schemaless data