Fix two warnings that showed up recently