Judge stops open carry ban at the polls