Fix bug when base classes were declared out-of-order.
Fix bug when base classes were declared out-of-order.

fperez/cython,JelleZijlstra/cython,JelleZijlstra/cython,acrispin/cython,acrispin/cython,ABcDexter/cython,slonik-az/cython,hhsprings/cython,andreasvc/cython,cython/cython,c-blake/cython,andreasvc/cython,scoder/cython,roxyboy/cython,marscher/cython,hickford/cython,hhsprings/cython,fabianrost84/cython,acrispin/cython,achernet/cython,slonik-az/cython,scoder/cython,acrispin/cython,mcanthony/cython,mcanthony/cython,mrGeen/cython,encukou/cython,madjar/cython,marscher/cython,fabianrost84/cython,andreasvc/cython,andreasvc/cython,hhsprings/cython,fperez/cython,ABcDexter/cython,da-woods/cython,JelleZijlstra/cython,acrispin/cython,c-blake/cython,mrGeen/cython,ABcDexter/cython,fperez/cython,dahebolangkuan/cython,cython/cython,fabianrost84/cython,slonik-az/cython,da-woods/cython,hickford/cython,dahebolangkuan/cython,da-woods/cython,hickford/cython,ChristopherHogan/cython,andreasvc/cython,fperez/cython,ChristopherHogan/cython,dahebolangkuan/cython,scoder/cython,mcanthony/cython,dahebolangkuan/cython,mcanthony/cython,madjar/cython,marscher/cython,achernet/cython,hickford/cython,da-woods/cython,fabianrost84/cython,c-blake/cython,marscher/cython,slonik-az/cython,dahebolangkuan/cython,c-blake/cython,hhsprings/cython,encukou/cython,JelleZijlstra/cython,roxyboy/cython,ChristopherHogan/cython,madjar/cython,ABcDexter/cython,ABcDexter/cython,mrGeen/cython,hickford/cython,achernet/cython,encukou/cython,roxyboy/cython,achernet/cython,encukou/cython,cython/cython,fabianrost84/cython,mrGeen/cython,roxyboy/cython,madjar/cython,mrGeen/cython,encukou/cython,slonik-az/cython,marscher/cython,mcanthony/cython,cython/cython,JelleZijlstra/cython,hhsprings/cython,roxyboy/cython,fperez/cython,c-blake/cython,scoder/cython,madjar/cython,achernet/cython