Filtering query collection by document reference

Hello there, I faced a problem when querying list of documents with following models: Plan has one User. So when I am trying to query Plans with Authorized User reference, I get 0 results even though I verified their presence in Firebase.

I feel like the reason is that User reference does not contain document folder and therefore EqualTo condition doesn't work

Is there a way to do this without force change document reference? I also dont want Users to have Plans references, because maintaining two-way refence sounds like nonsense.

User:

Plan:

Query:

3
5 replies