simplified get_ancestors logic
simplified get_ancestors logic

hanpama/wagtail,takeshineshiro/wagtail,JoshBarr/wagtail,mikedingjan/wagtail,mayapurmedia/wagtail,iho/wagtail,thenewguy/wagtail,lojack/wagtail,iansprice/wagtail,FlipperPA/wagtail,mjec/wagtail,benjaoming/wagtail,davecranwell/wagtail,m-sanders/wagtail,iho/wagtail,Klaudit/wagtail,gasman/wagtail,inonit/wagtail,willcodefortea/wagtail,torchbox/wagtail,chimeno/wagtail,benemery/wagtail,rjsproxy/wagtail,KimGlazebrook/wagtail-experiment,serzans/wagtail,kaedroho/wagtail,tangentlabs/wagtail,quru/wagtail,nutztherookie/wagtail,hanpama/wagtail,bjesus/wagtail,Pennebaker/wagtail,takeflight/wagtail,rsalmaso/wagtail,willcodefortea/wagtail,janusnic/wagtail,marctc/wagtail,jorge-marques/wagtail,taedori81/wagtail,100Shapes/wagtail,nealtodd/wagtail,benemery/wagtail,darith27/wagtail,chimeno/wagtail,rv816/wagtail,gasman/wagtail,chimeno/wagtail,quru/wagtail,iansprice/wagtail,takeflight/wagtail,nutztherookie/wagtail,gasman/wagtail,timorieber/wagtail,janusnic/wagtail,tangentlabs/wagtail,benjaoming/wagtail,nrsimha/wagtail,FlipperPA/wagtail,thenewguy/wagtail,JoshBarr/wagtail,mjec/wagtail,mayapurmedia/wagtail,m-sanders/wagtail,jorge-marques/wagtail,jnns/wagtail,iho/wagtail,zerolab/wagtail,nimasmi/wagtail,timorieber/wagtail,kurtrwall/wagtail,wagtail/wagtail,marctc/wagtail,quru/wagtail,chrxr/wagtail,hanpama/wagtail,chrxr/wagtail,nrsimha/wagtail,willcodefortea/wagtail,gogobook/wagtail,kurtw/wagtail,dresiu/wagtail,kurtw/wagtail,mayapurmedia/wagtail,takeflight/wagtail,timorieber/wagtail,dresiu/wagtail,willcodefortea/wagtail,jnns/wagtail,chimeno/wagtail,iansprice/wagtail,KimGlazebrook/wagtail-experiment,nilnvoid/wagtail,lojack/wagtail,gasman/wagtail,wagtail/wagtail,gogobook/wagtail,nimasmi/wagtail,serzans/wagtail,rv816/wagtail,mixxorz/wagtail,Pennebaker/wagtail,mixxorz/wagtail,nrsimha/wagtail,hamsterbacke23/wagtail,darith27/wagtail,tangentlabs/wagtail,bjesus/wagtail,rsalmaso/wagtail,mikedingjan/wagtail,mephizzle/wagtail,WQuanfeng/wagtail,darith27/wagtail,serzans/wagtail,Pennebaker/wagtail,serzans/wagtail,stevenewey/wagtail,torchbox/wagtail,wagtail/wagtail,Klaudit/wagtail,wagtail/wagtail,takeflight/wagtail,rv816/wagtail,darith27/wagtail,FlipperPA/wagtail,chrxr/wagtail,Pennebaker/wagtail,mjec/wagtail,zerolab/wagtail,jordij/wagtail,quru/wagtail,inonit/wagtail,benemery/wagtail,nutztherookie/wagtail,hanpama/wagtail,nealtodd/wagtail,davecranwell/wagtail,iho/wagtail,thenewguy/wagtail,mikedingjan/wagtail,torchbox/wagtail,rjsproxy/wagtail,marctc/wagtail,kurtrwall/wagtail,nilnvoid/wagtail,nilnvoid/wagtail,kaedroho/wagtail,JoshBarr/wagtail,Toshakins/wagtail,kurtw/wagtail,kurtrwall/wagtail,m-sanders/wagtail,hamsterbacke23/wagtail,takeshineshiro/wagtail,torchbox/wagtail,Tivix/wagtail,stevenewey/wagtail,janusnic/wagtail,taedori81/wagtail,chrxr/wagtail,jnns/wagtail,Toshakins/wagtail,mephizzle/wagtail,rjsproxy/wagtail,jorge-marques/wagtail,jorge-marques/wagtail,KimGlazebrook/wagtail-experiment,nrsimha/wagtail,chimeno/wagtail,Toshakins/wagtail,mayapurmedia/wagtail,jorge-marques/wagtail,mixxorz/wagtail,nealtodd/wagtail,100Shapes/wagtail,FlipperPA/wagtail,jordij/wagtail,bjesus/wagtail,Toshakins/wagtail,takeshineshiro/wagtail,hamsterbacke23/wagtail,taedori81/wagtail,bjesus/wagtail,WQuanfeng/wagtail,mephizzle/wagtail,zerolab/wagtail,JoshBarr/wagtail,mixxorz/wagtail,davecranwell/wagtail,tangentlabs/wagtail,nimasmi/wagtail,Tivix/wagtail,rjsproxy/wagtail,rsalmaso/wagtail,rsalmaso/wagtail,Klaudit/wagtail,jordij/wagtail,marctc/wagtail,lojack/wagtail,zerolab/wagtail,jordij/wagtail,nimasmi/wagtail,inonit/wagtail,nealtodd/wagtail,nilnvoid/wagtail,gasman/wagtail,kaedroho/wagtail,stevenewey/wagtail,jnns/wagtail,benemery/wagtail,inonit/wagtail,dresiu/wagtail,thenewguy/wagtail,dresiu/wagtail,dresiu/wagtail,Klaudit/wagtail,benjaoming/wagtail,m-sanders/wagtail,kurtw/wagtail,thenewguy/wagtail,nutztherookie/wagtail,Tivix/wagtail,timorieber/wagtail,mixxorz/wagtail,mikedingjan/wagtail,mjec/wagtail,taedori81/wagtail,kaedroho/wagtail,takeshineshiro/wagtail,hamsterbacke23/wagtail,taedori81/wagtail,WQuanfeng/wagtail,stevenewey/wagtail,davecranwell/wagtail,rsalmaso/wagtail,wagtail/wagtail,mephizzle/wagtail,gogobook/wagtail,KimGlazebrook/wagtail-experiment,gogobook/wagtail,Tivix/wagtail,100Shapes/wagtail,kaedroho/wagtail,kurtrwall/wagtail,iansprice/wagtail,janusnic/wagtail,zerolab/wagtail,benjaoming/wagtail,WQuanfeng/wagtail,rv816/wagtail