failing spec for includes

includes returns a wrong result. eg. 
person = Person.includes(children: :children).find(id)
person.children returns direct children of persons repeated number of times children of children.