Dynamic control of a selective hydrogenation process with undesired MAPD impurities in the C3-cut streams