Fixed #63 Document parent are ignored in indexController