Last month , Israeli officials said they may block voting in East Jerusalem if candidates from the Hamas militant group are allowed to take part in the balloting .