[OE-4425] medication stop migration fix