TIMOB-14753 check the deleted child index and add the child in that index position

 https://jira.appcelerator.org/browse/TIMOB-14753