Fix exception if 0 descendent images