Fix preview conditions