Fix minor warning causing bug.