Problem explained below as an example.
Suppose Car model has referenceMany relation with Wheel model.
/** @ReferenceMany(targetDocument="Wheel", inversedBy="car", simple=true) */
note the simple=true param. If this param is specified then includesReferenceTo queries fail for Car model.
For example, following query fails: