Deformation of a compound droplet in a wavy constricted channel