Adjusting for Perception and Unmasking Effects in Longitudinal Clinical Trials