Fix record ID filters. Elasticsearch doesn't see ID as a type