Error in reading Illustrator layer hierarchy