Fix begin_of_association_chain for inherited resources