Filtering across foreign keys now works
The issue was that we were storing fields in elasticsearch by their field name and not their 'attname'. These values are both different for foreign keys and querying them uses the 'attname'.
The fix was simply to index by the fields attname instead of the fields regular name.