added support for references between objects ($refs hidden attribute) and $all query in fat index