added check to make sure child element is an image-filter