Error throws NYC mayoral primary into confusion