Fix dumb logic mistake