1102877 - updated get_youngest_child function to take into consideration parent image layers having multiple children