Renaming _resolveFirstLevel to _resolveJoins