fixed the index based parent creation
Merge branch 'master' of https://github.com/inge91/Multimedia-Retrieval